package com.clover.framework.utils;

import java.util.HashMap;

/**
 * Map工具类
 * @Author masl - 2018/10/12 10:48
 */
public class MapUtils extends HashMap<String, Object> {

    @Override
    public MapUtils put(String key, Object value) {
        if (value instanceof String) {
            value = org.apache.commons.lang.StringUtils.trim(value + "");
        }
        super.put(key, value);
        return this;
    }
}
